package com.zwk.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.zwk.common.validator.group.AddGroup;
import com.zwk.gulimall.product.annotation.Relation;
import com.zwk.gulimall.product.service.BrandService;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 品牌分类关联
 * 
 * @author zhuwenkang
 * @email zhuwenkang@gmail.com
 * @date 2022-12-30 21:27:35
 */
@Data
@TableName("pms_category_brand_relation")
public class CategoryBrandRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 品牌id
	 */
	@NotNull(groups = AddGroup.class,message = "品牌id不能为空")
	private Long brandId;
	/**
	 * 分类id
	 */
	@NotNull(groups = AddGroup.class,message = "分类id不能为空")
	private Long catelogId;
	/**
	 * 
	 */
	private String brandName;
	/**
	 * 
	 */
	private String catelogName;

}
